package main

import "gogomcp-server/mcps"

func main() {

	//ctx, _ := signal.NotifyContext(context.Background(), syscall.SIGINT, syscall.SIGTERM)
	//
	//logger.Init()
	//
	//cli.Init()
	//
	//err := config.Init()
	//if err != nil {
	//	os.Exit(5)
	//}
	//
	//oldLevel := logger.SetLevel(config.Main.Log.Level)
	//if oldLevel == "" {
	//	os.Exit(5)
	//}
	//
	//err = db.Init()
	//if err != nil {
	//	os.Exit(5)
	//}
	//
	//err = job.Init()
	//if err != nil {
	//	os.Exit(5)
	//}
	//
	//// Ignore errors; 出错自动os.Exit(5)
	//web.Run(ctx, api.Router)

	// mcp服务端无法同时加载多个，只能运行一个
	mcps.DingTalkMCPServer()
	//mcps.InfoMCPServer()
	//mcps.PrometheusMCPServer()
	//mcps.TimeMCPServer()
}
